package com.thb.pay.mchant.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.thb.pay.db.entity.SuperEntity;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 * 商户-统一扫码-配置表
 * </p>
 *
 * @author lucky
 * @since 2019-07-21
 */
@Data
@Accessors(chain = true)
@TableName("mch_qr_code")
public class MchQrCode extends SuperEntity<MchQrCode> {

    public static final String TABLE_NAME = "mch_qr_code";
    private static final long serialVersionUID = 1L;


    /**
     * 商户ID
     */
    private Long mchId;

    /**
     * 应用ID
     */
    private String appId;

    /**
     * 状态,启用(1),停止(0)
     */
    private Integer status;

    /**
     * 支付渠道,json格式[wx,alipay]
     */
    private String channels;

    /**
     * 统一扫码名称
     */
    private String codeName;

    /**
     * 最小金额,单位分
     */
    private Long minAmount;

    /**
     * 最大金额,单位分
     */
    private Long maxAmount;

}
